const { DataTypes } = require('sequelize')

const seq = require('../db/seq')

const RoleMenu = seq.define('roleMenu', {
    id: { type: DataTypes.INTEGER, primaryKey: true },
    roleId: DataTypes.INTEGER,
    menuId: DataTypes.INTEGER
}, {
    tableName: 'role-menu'
})
// Role.belongsToMany(Employee, {
//     through: EmpRole
// })
module.exports = RoleMenu